Skip to content

JS - reset correctly radio buttons #13055

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 7, 2021

Conversation

calixteman
Copy link
Contributor

No description provided.

@timvandermeij
Copy link
Contributor

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Mar 6, 2021

From: Bot.io (Linux m4)


Received

Command cmd_test from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/d90e41729acaeb8/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Mar 6, 2021

From: Bot.io (Windows)


Received

Command cmd_test from @timvandermeij received. Current queue size: 0

Live output at: http://3.101.106.178:8877/57d1b99accf92ff/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Mar 6, 2021

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/d90e41729acaeb8/output.txt

Total script time: 24.08 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Integration Tests: Passed
  • Regression tests: FAILED

Image differences available at: http://54.67.70.0:8877/d90e41729acaeb8/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

pdfjsbot commented Mar 6, 2021

From: Bot.io (Windows)


Failed

Full output at http://3.101.106.178:8877/57d1b99accf92ff/output.txt

Total script time: 29.33 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Integration Tests: Passed
  • Regression tests: FAILED

Image differences available at: http://3.101.106.178:8877/57d1b99accf92ff/reftest-analyzer.html#web=eq.log

@timvandermeij
Copy link
Contributor

timvandermeij commented Mar 6, 2021

It looks like there is a regression in some checkbox reference tests. I can only guess that this has something to do with the setAttribute change, although I don't really understand why, since the other changes are related to scripting which that file doesn't use...

@Snuffleupagus
Copy link
Collaborator

Snuffleupagus commented Mar 6, 2021

I can only guess that this has something to do with the setAttribute change,

If that's the case, perhaps this comment applies here as well (meaning that we'd need to somehow fix/update the code in test/driver.js):

// NOTE: We cannot set the values using `element.value` below, since it
// prevents the AnnotationLayer rasterizer in `test/driver.js`
// from parsing the elements correctly for the reference tests.

@calixteman
Copy link
Contributor Author

It looks like there is a regression in some checkbox reference tests. I can only guess that this has something to do with the setAttribute change, although I don't really understand why, since the other changes are related to scripting which that file doesn't use...

I replaced radio.setAttribute("checked"... in the listener because else it doesn't work and so to be consistent I changed the other one too.

@calixteman
Copy link
Contributor Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Mar 7, 2021

From: Bot.io (Linux m4)


Received

Command cmd_test from @calixteman received. Current queue size: 0

Live output at: http://54.67.70.0:8877/8bac9b3bdae8496/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Mar 7, 2021

From: Bot.io (Windows)


Received

Command cmd_test from @calixteman received. Current queue size: 0

Live output at: http://3.101.106.178:8877/530cab1a43f0715/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Mar 7, 2021

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/8bac9b3bdae8496/output.txt

Total script time: 25.51 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Integration Tests: Passed
  • Regression tests: FAILED

Image differences available at: http://54.67.70.0:8877/8bac9b3bdae8496/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

pdfjsbot commented Mar 7, 2021

From: Bot.io (Windows)


Failed

Full output at http://3.101.106.178:8877/530cab1a43f0715/output.txt

Total script time: 30.89 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Integration Tests: Passed
  • Regression tests: FAILED

Image differences available at: http://3.101.106.178:8877/530cab1a43f0715/reftest-analyzer.html#web=eq.log

@timvandermeij
Copy link
Contributor

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Mar 7, 2021

From: Bot.io (Linux m4)


Received

Command cmd_test from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/84bd6f4e00d14f6/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Mar 7, 2021

From: Bot.io (Windows)


Received

Command cmd_test from @timvandermeij received. Current queue size: 0

Live output at: http://3.101.106.178:8877/9af476bc30724be/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Mar 7, 2021

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/84bd6f4e00d14f6/output.txt

Total script time: 23.97 mins

  • Font tests: Passed
  • Unit tests: FAILED
  • Integration Tests: FAILED
  • Regression tests: FAILED

Image differences available at: http://54.67.70.0:8877/84bd6f4e00d14f6/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

pdfjsbot commented Mar 7, 2021

From: Bot.io (Windows)


Failed

Full output at http://3.101.106.178:8877/9af476bc30724be/output.txt

Total script time: 29.68 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Integration Tests: FAILED
  • Regression tests: FAILED

Image differences available at: http://3.101.106.178:8877/9af476bc30724be/reftest-analyzer.html#web=eq.log

@timvandermeij
Copy link
Contributor

/botio integrationtest

@pdfjsbot
Copy link

pdfjsbot commented Mar 7, 2021

From: Bot.io (Linux m4)


Received

Command cmd_integrationtest from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/365e7e6047e4bf6/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Mar 7, 2021

From: Bot.io (Windows)


Received

Command cmd_integrationtest from @timvandermeij received. Current queue size: 1

Live output at: http://3.101.106.178:8877/dddd1b24a11cdde/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Mar 7, 2021

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/365e7e6047e4bf6/output.txt

Total script time: 3.25 mins

  • Integration Tests: Passed

@pdfjsbot
Copy link

pdfjsbot commented Mar 7, 2021

From: Bot.io (Windows)


Success

Full output at http://3.101.106.178:8877/dddd1b24a11cdde/output.txt

Total script time: 5.07 mins

  • Integration Tests: Passed

@timvandermeij timvandermeij merged commit ba1b409 into mozilla:master Mar 7, 2021
@timvandermeij
Copy link
Contributor

Thanks!

Snuffleupagus added a commit to Snuffleupagus/pdf.js that referenced this pull request Mar 12, 2021
…zeAnnotationLayer`

Currently errors occuring within the `src/display/{text_layer, annotation_layer}.js` files are not being handled properly by the test-suite, and the tests simply time out rather than failing as intended.
This makes it *very* easy to accidentally overlook a certain type of errors, see e.g. mozilla#13055 (comment), which this patch will thus improve.
Snuffleupagus added a commit to Snuffleupagus/pdf.js that referenced this pull request Mar 12, 2021
…zeAnnotationLayer`

Currently errors occurring within the `src/display/{text_layer, annotation_layer}.js` files are not being handled properly by the test-suite, and the tests simply time out rather than failing as intended.
This makes it *very* easy to accidentally overlook a certain type of errors, see e.g. mozilla#13055 (comment), which this patch will thus prevent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants